projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231bfd6
)
Amend the CC Mode macro cache to cope with changes at the macro start
author
Alan Mackenzie
<acm@muc.de>
Sun, 27 Aug 2017 10:38:47 +0000
(10:38 +0000)
committer
Alan Mackenzie
<acm@muc.de>
Sun, 27 Aug 2017 10:38:47 +0000
(10:38 +0000)
Fixes bug #28233.
* lisp/progmodes/cc-engine.el (c-invalidate-macro-cache): Fix an off-by-1
error.
lisp/progmodes/cc-engine.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/cc-engine.el
b/lisp/progmodes/cc-engine.el
index 59dc96af03092c56649b00be2b8556211baa54af..d20e575a928619f7356a966b4c597aa18f60806b 100644
(file)
--- a/
lisp/progmodes/cc-engine.el
+++ b/
lisp/progmodes/cc-engine.el
@@
-248,7
+248,7
@@
;; parameters. END isn't used.
(cond
((null c-macro-cache))
- ((< beg (car c-macro-cache))
+ ((<
=
beg (car c-macro-cache))
(setq c-macro-cache nil
c-macro-cache-start-pos nil
c-macro-cache-syntactic nil